package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Students6Mapper;
import com.ruoyi.system.domain.Students6;
import com.ruoyi.system.service.IStudents6Service;

/**
 * 学生表6Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-14
 */
@Service
public class Students6ServiceImpl implements IStudents6Service 
{
    @Autowired
    private Students6Mapper students6Mapper;

    /**
     * 查询学生表6
     * 
     * @param studentId 学生表6主键
     * @return 学生表6
     */
    @Override
    public Students6 selectStudents6ByStudentId(Long studentId)
    {
        return students6Mapper.selectStudents6ByStudentId(studentId);
    }

    /**
     * 查询学生表6列表
     * 
     * @param students6 学生表6
     * @return 学生表6
     */
    @Override
    public List<Students6> selectStudents6List(Students6 students6)
    {
        return students6Mapper.selectStudents6List(students6);
    }

    /**
     * 新增学生表6
     * 
     * @param students6 学生表6
     * @return 结果
     */
    @Override
    public int insertStudents6(Students6 students6)
    {
        return students6Mapper.insertStudents6(students6);
    }

    /**
     * 修改学生表6
     * 
     * @param students6 学生表6
     * @return 结果
     */
    @Override
    public int updateStudents6(Students6 students6)
    {
        return students6Mapper.updateStudents6(students6);
    }

    /**
     * 批量删除学生表6
     * 
     * @param studentIds 需要删除的学生表6主键
     * @return 结果
     */
    @Override
    public int deleteStudents6ByStudentIds(Long[] studentIds)
    {
        return students6Mapper.deleteStudents6ByStudentIds(studentIds);
    }

    /**
     * 删除学生表6信息
     * 
     * @param studentId 学生表6主键
     * @return 结果
     */
    @Override
    public int deleteStudents6ByStudentId(Long studentId)
    {
        return students6Mapper.deleteStudents6ByStudentId(studentId);
    }
}
